#!/bin/bash
key=$HOME/NewPCloudSvn/AnhDroid/ttadinh.pem
for iname in `ec2-describe-instances | grep "ttadinh" | grep "running" | awk '{print $2}'`
do
	ec2-terminate-instances $iname
done
